package cn.buyclss.backend.controller.shop;

import cn.buyclss.backend.annotation.RequiredPermission;
import cn.buyclss.backend.entity.support.RespResult;
import cn.buyclss.backend.service.UserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: Cecurio
 * @create: 2019-02-19 12:50
 **/
//@RestController
//@RequestMapping("/shop/product")
//@Api(value = "商户-商品管理", description = "商户-商品管理")
public class ProductManageController {


//    @GetMapping("/getAll")
//    @ApiOperation(value = "查看所有的商品")
//    @RequiredPermission("管理员")
    public RespResult admin() {
        RespResult res = new RespResult();
        res.setCode(0);
        res.setErrMsg("");
        return res;
    }
}
